package com.yun.zf.common.admin.dto.house;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yun.zf.common.admin.dto.community.AgentInfoDto;
import com.yun.zf.common.admin.model.house.HouseDescMo;
import com.yun.zf.common.admin.model.house.HouseInfo;
import com.yun.zf.common.admin.model.house.HouseListMo;
import com.yun.zf.common.app.domain.ZfCommunity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class House {

    private HouseDetailAdminDto houseBasic;

    private HouseInfo houseInfo;

    private HouseDescMo houseDesc;

    private List<AdminHousePicDto> housePictures;

    private ZfCommunity community;

    @ApiModelProperty(value = "同小区房源")
    private Page<HouseListMo> chouse;
    @ApiModelProperty(value = "经纪人列表")
    private List<AgentInfoDto> agents;
    @ApiModelProperty(value = "得分")
    private BigDecimal avgScore; // 得分
    @ApiModelProperty(value = "完成度")
    private BigDecimal avgRate; // 进度

   private List<DocumentCountDto> doc;
}
